package com.shd.edanpei.presenter.contract;

import com.shd.edanpei.base.BaseIPresenter;
import com.shd.edanpei.base.BaseIView;
import com.shd.edanpei.bean.TeamModel;
import com.shd.edanpei.ui.adapter.TeamAdapter;

/**
 * Created by mc on 2018/11/20.
 * yang-wen-wen
 */

public interface SalesmanContract {

    interface SalesmanIView extends BaseIView{

        void setDetails(TeamModel data);

        TeamAdapter getAdapter();

    }

    interface SalesmanIPresenter extends BaseIPresenter{

        /**
         * 业务员详情
         * @param userID
         */
        void getDetails(int userID, int teamID);

        void refresh(int userID, int teamID);

        void loadMore(int userID, int teamID);
    }
}

